package com.handyshop.mall.dubbo.user.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.handyshop.mall.dubbo.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@ApiModel(value = "会员等级权益明细表")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "nrs_user_level_equity_item")
public class UserLevelEquityItem extends BaseEntity {
    /**
     * 等级id
     */
    @TableField(value = "level_id")
    @ApiModelProperty(value = "等级id")
    private Long levelId;

    /**
     * 权益类型
     */
    @TableField(value = "`type`")
    @ApiModelProperty(value = "权益类型")
    private String type;

    /**
     * 名称
     */
    @TableField(value = "`name`")
    @ApiModelProperty(value = "名称")
    private String name;

    /**
     * logo
     */
    @TableField(value = "logo")
    @ApiModelProperty(value = "logo")
    private String logo;

    /**
     * 描述
     */
    @TableField(value = "`desc`")
    @ApiModelProperty(value = "描述")
    private String desc;

    /**
     * 是否启用(0:否,1:是)
     */
    @TableField(value = "`status`")
    @ApiModelProperty(value = "是否启用(0:否,1:是)")
    private Boolean status;

    /**
     * 权益参数
     */
    @TableField(value = "param")
    @ApiModelProperty(value = "权益参数")
    private String param;

    public static final String COL_ID = "id";

    public static final String COL_LEVEL_ID = "level_id";

    public static final String COL_TYPE = "type";

    public static final String COL_NAME = "name";

    public static final String COL_LOGO = "logo";

    public static final String COL_DESC = "desc";

    public static final String COL_STATUS = "status";

    public static final String COL_PARAM = "param";

    public static final String COL_DELETE_FLAG = "delete_flag";

    public static final String COL_CREATOR_ID = "creator_id";

    public static final String COL_CREATOR = "creator";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_MODIFY_TIME = "modify_time";
}